package cn.iocoder.boot.MLlib;

//用于定义 DataFrame 的结构，即数据的字段和类型。
public class YourDataClass {
    private String feature1;
    private Double feature2;

    // 无参构造方法
    public YourDataClass() {
    }

    // 全参构造方法
    public YourDataClass(String feature1, Double feature2) {
        this.feature1 = feature1;
        this.feature2 = feature2;
    }

    // Getter 和 Setter 方法
    public String getFeature1() {
        return feature1;
    }

    public void setFeature1(String feature1) {
        this.feature1 = feature1;
    }

    public Double getFeature2() {
        return feature2;
    }

    public void setFeature2(Double feature2) {
        this.feature2 = feature2;
    }
}